package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.entity.TCustomer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_customer(客户表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TCustomer
 */
public interface TCustomerMapper {

    int deleteByPrimaryKey(Long id);

    int insert(TCustomer record);

    int insertSelective(TCustomer record);

    TCustomer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TCustomer record);

    int updateByPrimaryKey(TCustomer record);

    List<TCustomer> selectCustomerPage();

    List<TCustomer> selectCustomerByExcel(@Param("idList") List<String> idList);

    Integer selectByAllCount();

    TCustomer selectDetailById(Integer id);
}
